#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "mazewidget.h"
#include "switch.h"
#include "solution.h"

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);

    void showPath();

    ~MainWindow();

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

private:
    Ui::MainWindow *ui;
    QVector<QVector<int>> path1;
    QVector<QVector<int>> path2;
    QVector<QVector<int>> path3;
    QVector<QVector<int>> path4;
};
extern Switch sw;
extern Solution s1;
extern MazeWidget *maze1;
#endif // MAINWINDOW_H
